home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / editors / mjovesrc.zoo / ttystate.h < prev    next >
C/C++ Source or Header  |  1991-06-17  |  812b  |  46 lines

  1. /* Various tty state structures.
  2.  * Each is an array, subscripted by one of "OFF" or "ON".
  3.  */
  4.  
  5. #ifdef    UNIX
  6.  
  7. #if defined(SGTTY) || defined(BRLUNIX)
  8. # include <sgtty.h>
  9. # ifdef    BRLUNIX
  10. extern struct sg_brl    sg[2];
  11. # else
  12. extern struct sgttyb    sg[2];
  13. # endif /* BRLUNIX */
  14. #endif
  15.  
  16. #ifdef TERMIO
  17. # include <termio.h>
  18. extern struct termio    sg[2];
  19. #endif
  20.  
  21. #ifdef TERMIOS
  22. # include <termios.h>
  23. extern struct termios    sg[2];
  24. # ifndef VDSUSP
  25. #  define VDSUSP    VSUSP    /* non-Posixism in Irix3.3, may exist in others */
  26. # endif
  27. #endif
  28.  
  29. #ifdef    SYSVR4
  30. #undef    TIOCSLTC    /* don't let BSD emulation mislead us */
  31. #endif
  32.  
  33. # ifdef    TIOCSLTC
  34. extern struct ltchars    ls[2];
  35. # endif    /* TIOCSLTC */
  36.  
  37. #ifdef    SYSV
  38. #undef    TIOCGETC    /* not appropriate for System V */
  39. #endif
  40.  
  41. # ifdef    TIOCGETC
  42. extern struct tchars    tc[2];
  43. # endif
  44.  
  45. #endif    /* UNIX */
  46.